package com.goodmr.passport.webapp.exception;

import com.goodmr.passport.webapp.enums.ErrorEnum;

/**
 * 鉴权异常
 *
 * @author <a href="mailto:bingdong13@msn.com">bigo</a>
 */
public class UnauthorizedException extends HttpException {

    private static final long serialVersionUID = 7837702617215656365L;

    public UnauthorizedException(int code, String message, Throwable cause) {
        super(code, message, cause);
    }

    public UnauthorizedException(ErrorEnum error, Throwable cause) {
        super(error, cause);
    }

    public UnauthorizedException(ErrorEnum error) {
        super(error);
    }
}
